find_package(PkgConfig REQUIRED)
pkg_check_modules(WL_CLI  wayland-client REQUIRED)
include_directories(${WL_CLI_INCLUDE_DIRS})
link_libraries(${WL_CLI_LIBRARIES})
link_libraries(EGL wayland-egl)


set(TARGET wl_video)
set(${TARGET}_SOURCE main.cc)
add_executable(${TARGET} ${${TARGET}_SOURCE})
set(ALL_TARGET ${ALL_TARGET} ${TARGET})

install(TARGETS ${ALL_TARGET}
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib)
